package pkg

import (
	"fmt"
	"github.com/google/uuid"
	"time"
)

func OrderGen() string {
	timeStamp := time.Now().UnixMilli()
	timeStr := fmt.Sprintf("%d", timeStamp)
	uuidStr := uuid.New().String()[:8]
	return fmt.Sprintf("%s%s", timeStr, uuidStr)
}
